package com.luoye.lj.platform.controller.data.user;

import com.luoye.lj.platform.model.domain.RoleInfo;

import java.io.Serializable;

/**
 * Created by dave_suwei on 2018/2/8.
 */
public class RoleInfoData extends RoleInfo implements Serializable {
    private long id=-1;
    private String rolename;
    private String description;
    private int roletype=-1;

    @Override
    public long getId() {
        return id;
    }

    @Override
    public void setId(long id) {
        this.id = id;
    }

    @Override
    public String getRolename() {
        return rolename;
    }

    @Override
    public void setRolename(String rolename) {
        this.rolename = rolename;
    }

    @Override
    public String getDescription() {
        return description;
    }

    @Override
    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public int getRoletype() {
        return roletype;
    }

    @Override
    public void setRoletype(int roletype) {
        this.roletype = roletype;
    }

    @Override
    public String toString() {
        return "RoleInfoData{" +
                "id=" + id +
                ", rolename='" + rolename + '\'' +
                ", description='" + description + '\'' +
                ", roletype=" + roletype +
                '}';
    }
}
